<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>学生活动服务中心一站式服务大厅综合管理系统</title>
<link href="__ROOT__/admin/Public/css/style.css" rel="stylesheet" type="text/css" />
<link href="__ROOT__/admin/Public/css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ROOT__/admin/Public/js/showmenu.js"></script>
<script type='text/javascript' src='__ROOT__/admin/Public/js/kindedit/kindeditor-min.js'></script>
<script type='text/javascript' src='__ROOT__/admin/Public/js/kindedit/lang/zh_CN.js'></script>
<script type="text/javascript" src="__ROOT__/admin/Public/js/keload.js"></script>
</head>

<body>
	<include file="./admin/Tpl/Public/head.html"/>
	<include file="./admin/Tpl/Public/left.html"/>
	<div class="rrcc" id="RightBox">
	<div class="center" id="Mobile" onclick="show_menuC()"></div>
	<div class="right" id="li019">
		<div class="right01"><img src="__ROOT__/admin/Public/img/admin/04.gif" /> 资源和链接管理 &gt; <span>文件上传</span></div>
		<div class="right02">
			<form action="__URL__/addfile" method="post"  class="div" enctype="multipart/form-data">
				<br/>
				<div class="stitle">添加文件</div>
				<hr/>
				上传文件
				<table cellpadding=3 cellspacing=3 width="450PX">
					<tr>
						<td class="tRight tTop"></td>
						<td class="tLeft tTop">
					<div class="impBtn  fLeft" >
					<input name="file" id="image" type="file" class="file huge" value={$cont[0]['path']}/></div>
					文件名:<input type="text" name="filename" style="" text={$cont[0]['filename']}></input>
					文件类型<select name="ftype" id="ftype">
						<option value="doc">Word03版文档</option>
						<option value="docx">Word07版文档</option>
						<option value="ppt">PPT03版</option>
						<option value="pptx">PPT07版</option>
						<option value="xls">Excel03版</option>
						<option value="xlsx">Excel07版</option>
						<option value="pdf">PDF</option>
						<option value="zip">zip压缩</option>
						<option value="rar">rar压缩</option>
						</select>
					<br/>
					文件分类<select name="type" id="" text={$cont[0]['type']}>
						<option value="学籍管理">学籍管理</option>
						<option value="考试及成绩管理">考试及成绩管理</option>
						<option value="其他">其他</option>
						</select> 
						<table id='tbl' style="clear:both"></table>
					  <input type="submit" value="提交" class="button" >
					</td>
					</tr>
				</table>
			</form>
			<hr/>
			文件列表
			<table cellpadding="0" cellspacing="0"  class="tablesorter"  id="rowspan">
				<thead> 
					<tr>
						<th>排列顺序</th>
						<th>发布时间</th>
						<th>文件分类</th>
						<th>文件类型</th>
						<th>点击下载</th>
						<th>操作</th>
					</tr> 
				</thead> 
				<volist name="list" id="nlist">  
                <tr>
					<td>{$nlist.istop}</td>
					<td>{$nlist.uptime}</td>                            
					<td>{$nlist.type}</td>
					<td>{$nlist.ftype}</td>
					<td><a href="__PUBLIC__/Uploads/{$nlist.path}" />{$nlist.filename}</td>
					<td class="action">
					<a href="__APP__/Resource/upload?id={$nlist.id}">修改</a>
					<a href="__APP__/Resource/top?id={$nlist.id}">顶上来</a>
					<a href="__APP__/Resource/down?id={$nlist.id}">踩下去</a>
					<a href="__APP__/Resource/deletefile?id={$nlist.id}">删除</a></td>
				</tr>     
                </volist> 
				<div style="text-align:center;margin-bottom:20px;font-size:15px;">{$page}</div>  
			</table>                        
                        
		</div>
	</div>
</body>
</html>
